<script setup lang="ts" name="B35ComponentCommunication">
import Menu from "./Menu.vue";
</script>
<template>
  <div class="mx-auto container max-w-5xl bg-white my-6 p-6 shadow">
    <h2 class="text-2xl font-semibold text-center border-b pb-4">组件通讯</h2>
    <div class="grid grid-cols-5 my-6 gap-x-3">
      <div class="col-span-1 border-r pr-3">
        <Menu />
      </div>
      <div class="col-span-4 pr-3">
        <RouterView />
      </div>
    </div>
  </div>
</template>
